/*
 * Generated by XDoclet - Do not edit!
 */
package hotel.interfaces;

/**
 * Remote interface for Hotel.
 * @xdoclet-generated at ${TODAY}
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version ${version}
 */
public interface Hotel
   extends javax.ejb.EJBObject
{
   /**
    * Business method
    */
   public java.lang.String getNom(  )
      throws java.rmi.RemoteException;

   /**
    * Business method
    */
   public void setNomClient( java.lang.Integer DNI,java.lang.String Nom )
      throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.lang.String getNomClient( java.lang.Integer DNI )
      throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void altaClient( java.lang.Integer DNI,java.lang.String nom )
      throws javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void baixaClient( java.lang.Integer DNI )
      throws javax.ejb.FinderException, javax.ejb.RemoveException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.util.Collection llistatClients(  )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void setTipusHabitacio( java.lang.Integer ID,java.lang.Integer tipus )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.lang.Integer getTipusHabitacio( java.lang.Integer ID )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void habilitarHabitacio( java.lang.Integer ID,java.lang.Integer tipus )
      throws javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void deshabilitarHabitacio( java.lang.Integer ID )
      throws javax.ejb.FinderException, javax.ejb.RemoveException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.util.Collection llistatHabitacions(  )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void setDates( java.lang.Integer ID,java.util.Date desde,java.util.Date fins )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.util.Date getDesdeDataReserva( java.lang.Integer ID )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.util.Date getFinsDataReserva( java.lang.Integer ID )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void reservar( java.lang.Integer ID,java.lang.Integer clientDNI,java.util.Collection habitacionsID,java.util.Date desde,java.util.Date fins )
      throws javax.ejb.FinderException, javax.ejb.CreateException, hotel.exception.JaReservatException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public void anularReserva( java.lang.Integer ID )
      throws javax.ejb.RemoveException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

   /**
    * Business method
    */
   public java.util.Collection llistatReserves(  )
      throws javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException;

}
